package logo.lang;

import java.util.*;

/**
 * Concrete representation for a Logo Program.  This class inherits from
 * ASTNode1 because it takes a single sequence of commands, which will be
 * evaluated (visited) in left-right order when this IRProc node is
 * visited.
 */
public class IRProc extends LogoVal {

	
	String p;
	ArrayList v;
	IRCmdSeq cmds;

    public IRProc (String p, ArrayList v, IRCmdSeq cmds) {
		this.p = p;
    	this.v = v;
    	this.cmds = cmds;
    }
    
     
    public String getP() {
		return p;
	}

	public ArrayList getV() {
		return v;
	}

	public IRCmdSeq getCmds() {
		return cmds;
	}

//	public Object visit(Visitor v, Object info) throws Exception {
//	return v.visitProgram(this, info);
//    }

    // You may put any other methods or data members that you believe
    // you need in order to make this work.
}
